.class Lcom/TwinBlade/PicturePassword/bu;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/TwinBlade/PicturePassword/bl;

.field private final synthetic b:Landroid/widget/EditText;


# direct methods
.method constructor <init>(Lcom/TwinBlade/PicturePassword/bl;Landroid/widget/EditText;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/TwinBlade/PicturePassword/bu;->a:Lcom/TwinBlade/PicturePassword/bl;

    iput-object p2, p0, Lcom/TwinBlade/PicturePassword/bu;->b:Landroid/widget/EditText;

    .line 785
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter

    .prologue
    const/4 v3, 0x0

    .line 787
    iget-object v0, p0, Lcom/TwinBlade/PicturePassword/bu;->a:Lcom/TwinBlade/PicturePassword/bl;

    invoke-static {v0}, Lcom/TwinBlade/PicturePassword/bl;->g(Lcom/TwinBlade/PicturePassword/bl;)Landroid/content/SharedPreferences;

    move-result-object v0

    const-string v1, "BackupPin"

    const-string v2, "0000"

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 788
    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/bu;->b:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 789
    iget-object v0, p0, Lcom/TwinBlade/PicturePassword/bu;->a:Lcom/TwinBlade/PicturePassword/bl;

    invoke-static {v0}, Lcom/TwinBlade/PicturePassword/bl;->i(Lcom/TwinBlade/PicturePassword/bl;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/bu;->a:Lcom/TwinBlade/PicturePassword/bl;

    invoke-static {v1}, Lcom/TwinBlade/PicturePassword/bl;->i(Lcom/TwinBlade/PicturePassword/bl;)Landroid/content/Context;

    move-result-object v1

    const v2, 0x7f0900b9

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-static {v0, v1, v2, v3}, Lcom/TwinBlade/PicturePassword/Utilities;->a(Landroid/content/Context;Ljava/lang/String;IZ)V

    .line 790
    iget-object v0, p0, Lcom/TwinBlade/PicturePassword/bu;->a:Lcom/TwinBlade/PicturePassword/bl;

    invoke-virtual {v0}, Lcom/TwinBlade/PicturePassword/bl;->c()V

    .line 794
    :goto_0
    return-void

    .line 792
    :cond_0
    iget-object v0, p0, Lcom/TwinBlade/PicturePassword/bu;->a:Lcom/TwinBlade/PicturePassword/bl;

    invoke-static {v0}, Lcom/TwinBlade/PicturePassword/bl;->i(Lcom/TwinBlade/PicturePassword/bl;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/bu;->a:Lcom/TwinBlade/PicturePassword/bl;

    invoke-static {v1}, Lcom/TwinBlade/PicturePassword/bl;->i(Lcom/TwinBlade/PicturePassword/bl;)Landroid/content/Context;

    move-result-object v1

    const v2, 0x7f0900ba

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x2

    invoke-static {v0, v1, v2, v3}, Lcom/TwinBlade/PicturePassword/Utilities;->a(Landroid/content/Context;Ljava/lang/String;IZ)V

    goto :goto_0
.end method
